package com.sdry.service.base;

import java.util.List;

import com.sdry.entity.base.Department;
/**
 * 
 * @ClassName:DepartmentService
 * @Description:部门
 * @Author tdd
 * @Date 2018年4月26日上午9:10:08
 * @version 1.0
 */
public interface DepartmentService extends BaseService<Department>{
	/**
	 *  添加返回id
	 * @param department 部门实体类
	 * @return
	 */
	public Long add(Department department);
	/**
	 *  条件分页查询
	 * @param department 部门实体类
	 * @return
	 */
	public List<Department> findPageByMution(Department department);
	/**
	 * 条件查询总条数
	 * @param department 部门实体类
	 * @return
	 */
	public Integer selectCountByMution(Department department);
	/**
	 *  条件查询
	 * @param department 部门实体类
	 * @return
	 */
	public List<Department> queryAllByMution(Department department);
	/**
	 *  多删除
	 * @param ids  部门id累加字符串
	 * @return
	 */
	public Integer deleteIds(String ids);
}
